lcDrwGetEntByKey Home

Returns a handle to the entity which LC_PROP_ENT_KEY property matches the specified value. The functions searches in all blocks of a drawing.

 HANDLE lcDrwGetEntByKey (
   HANDLE hDrw,
   int Key
 );

Parameters
hDrw
  Handle to a drawing object.
Key
  Value of LC_PROP_ENT_KEY property.

Return Value

  Handle to a graphic object.
If an object with specified identifier is not found, the function returns NULL.

See Also

  lcDrwGetEntByIDlcBlockGetEntByKey